// 引入变量和全局样式
@use "var.scss" as *;
@use "global.scss" as *;
// 统一设置a标签样式
a {
    color: $color-black;
    /* 设置链接颜色 */
    text-decoration: none;
    /* 移除默认下划线 */
    transition: color 0.3s ease;
    /* 添加颜色渐变效果 */
    /* 其他样式，根据需要添加 */
}

a:hover {
    color: #2980b9;
    /* 设置鼠标悬停时的颜色 */
}

/* 外层盒子样式 */

.container {
    width: 100%;
    height: 100%;
}

/* 标题样式 */

.title {
    margin-bottom: 0.625rem;
    font-size: 1.5rem;
    height: 2rem;
    transition: color 0.3s;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
    text-overflow: ellipsis;
    word-break: break-word;
    -webkit-line-clamp: 2;
    font-family: PingFang SC, HarmonyOS_Regular, Helvetica Neue, Microsoft YaHei,
        sans-serif;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
}

.video-info-detail {
    bottom: 0.625rem 0;
    color: #b8bab9;
    span {
        margin-right: 1rem;
        font-size: 1rem;
    }
}

/* 视频组件样式 */

.video {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

/* 视频宽高由此样式调整 */

.video-css {
    width: 100%;
    height: auto;
}

/* 段落样式 */

.paragraph {
    padding: 0.5rem;
    white-space: pre-line;
    letter-spacing: 0;
    color: #18191c;
    font-size: 1rem;
    line-height: 1.5rem;
    overflow: hidden;
}

/* 控制区域 */

.controls {
    width: 100%;
    height: 3.125rem;
    /* 50px / 16px = 3.125rem */
    background-color: transparent;
    /* 粉色 */
    span {
        margin-right: 1rem;
    }
    .icon-size {
        font-size: 1.3rem;
    }
}
